A NO_WINDOW widget must not set the background of its window. (#433972,
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Apr 2007 17:57:53 +0000 (17:57 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Apr 2007 17:57:53 +0000 (17:57 +0000)
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
        must not set the background of its window.  (#433972,
        Guilherme Polo)

svn path=/trunk/; revision=17744

ChangeLog
gtk/gtkexpander.c

index 00cf6f9dd9f1cc7aa8681173e9f1cd1c49790824..2fd4c94569c465b5638a491ba4a154eba8023518 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
+       must not set the background of its window.  (#433972,
+       Guilherme Polo)
+
 2007-04-30  Richard Hult  <richard@imendio.com>
 
        * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
index 5e38ec980ecd9f2bb029c0c0eb5cda6f73372e32..d0b441960eafe7f07eed37040c1c4be996a6abe6 100644 (file)
@@ -411,7 +411,7 @@ gtk_expander_realize (GtkWidget *widget)
   gdk_window_set_user_data (priv->event_window, widget);
 
   widget->style = gtk_style_attach (widget->style, widget->window);
-  gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
+  //gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
 }
 
 static void